#include "../../server/ChannelManager.hpp"

int main()
{
    micromq::ChannelManager::ptr channelManager = std::make_shared<micromq::ChannelManager>();
    channelManager->openChannel("ch1", 
        std::make_shared<micromq::VirtualHost>("host1", "./data", "./data/meta.db"), 
        std::make_shared<micromq::ConsumerManager>(), 
        muduo::net::TcpConnectionPtr(),
        micromq::ProtobufCodecPtr(), 
        ThreadPool::ptr()
    );

    return 0;
}